<template>
	<view class="container">
		<view class="basic-title">
			<view class="">
				资料越完善
			</view>
			<view class="">
				离心仪的Ta就越靠近哦~
			</view>
		</view>
		<view class="basic-form">
			<view class="form-title">
				原生家庭
			</view>
			<uv-form labelPosition="left" :model="form" :rules="rules" ref="form">
				<uv-form-item prop="userInfo.name" :customStyle="customStyle">
					<uv-input v-model="form.family_status" border="none" placeholder="家庭组成情况" type="text">
					</uv-input>
				</uv-form-item>
				<uv-form-item prop="userInfo.sex" @click="showSexSelect" :customStyle="customStyle">
					<uv-input v-model="form.is_only" disabled disabledColor="#ffffff" placeholder="是否为独生子女"
						border="none">
					</uv-input>
					<template v-slot:right>
						<uv-icon name="arrow-right"></uv-icon>
					</template>
				</uv-form-item>
				<uv-form-item prop="userInfo.sex" @click="showSexSelect" :customStyle="customStyle">
					<uv-input v-model="form.father_education" disabled disabledColor="#ffffff" placeholder="父亲的学历"
						border="none">
					</uv-input>
					<template v-slot:right>
						<uv-icon name="arrow-right" style="margin-right: 10rpx;"></uv-icon>
					</template>
				</uv-form-item>
				<uv-form-item prop="userInfo.sex" @click="showSexSelect" :customStyle="customStyle">
					<uv-input v-model="form.father_work" disabled disabledColor="#ffffff" placeholder="父亲的职业状态"
						border="none">
					</uv-input>
					<template v-slot:right>
						<uv-icon name="arrow-right" style="margin-right: 10rpx;"></uv-icon>
					</template>
				</uv-form-item>
				<uv-form-item prop="userInfo.sex" @click="showSexSelect" :customStyle="customStyle">
					<uv-input v-model="form.mother_education" disabled disabledColor="#ffffff" placeholder="母亲的学历"
						border="none">
					</uv-input>
					<template v-slot:right>
						<uv-icon name="arrow-right" style="margin-right: 10rpx;"></uv-icon>
					</template>
				</uv-form-item>
				<uv-form-item prop="userInfo.sex" @click="showSexSelect" :customStyle="customStyle">
					<uv-input v-model="form.mother_work" disabled disabledColor="#ffffff" placeholder="母亲的职业状态"
						border="none">
					</uv-input>
					<template v-slot:right>
						<uv-icon name="arrow-right" style="margin-right: 10rpx;"></uv-icon>
					</template>
				</uv-form-item>
			</uv-form>
			<button class="basic-btns">
				下一步
			</button>
		</view>


	</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {
					family_status: "",
					is_only: "",
					father_education: "",
					father_work: "",
					mother_education: "",
					mother_work: "",
				},
				customStyle: {
					width: "654rpx",
					height: "84rpx",
					border: "2rpx solid #E9E9E9",
					padding: "0rpx",
					marginTop: "32rpx",
					paddingRight: "28rpx",
					paddingLeft: "28rpx",
					boxSizing: "border-box"
				}
			}
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		height: 100%;

		.basic-title {
			margin-top: 228rpx;
			margin-left: 48rpx;
			width: 566rpx;
			height: 112rpx;
			font-size: 40rpx;
			font-family: PingFangSC, PingFang SC;
			font-weight: 600;
			color: #5861C0;
			// line-height: 56rpx;
		}

		.basic-form {
			padding-bottom: 100rpx;
			padding-left: 48rpx;
			padding-right: 48rpx;
			width: 750rpx;
			box-sizing: border-box;

			// background-color: red;
			.form-title {
				margin-top: 62rpx;
				// width: 152rpx;
				height: 44rpx;
				font-size: 32rpx;
				font-family: PingFangSC, PingFang SC;
				font-weight: 600;
				color: #333333;
			}

			.basic-btns {
				width: 370rpx;
				height: 96rpx;
				background: linear-gradient(90deg, #EC8D7E 0%, #FF6F59 100%);
				box-shadow: 0rpx 4rpx 20rpx 0rpx #F7E4E1, inset 0rpx 2rpx 20rpx 6rpx rgba(255, 174, 161, 0.61);
				border-radius: 150rpx;
				position: fixed;
				bottom: 70rpx;
				left: 190rpx;
				font-size: 32rpx;
				font-family: PingFangSC, PingFang SC;
				font-weight: 500;
				color: #FFFFFF;
				display: flex;
				justify-content: center;
				align-items: center;
			}
		}
	}
</style>